from django.http import HttpResponseRedirect
from django.core.handlers.wsgi import WSGIRequest
from django.urls import reverse_lazy


def redirect_to_home_page(request: WSGIRequest) -> HttpResponseRedirect:
    """ Перенаправляем на домашнюю страницу """
    return HttpResponseRedirect(reverse_lazy('menu:menu_home_page'))
